---
layout: default
categories: plugin
title: geo-viewport
prefix: static-map-from-bounds-with-geo-viewport
description: Transforms a bounding box into a zoom and centerpoint combination, useful for combination with our Static Maps web service
tags:
  - bsd
code: https://github.com/mapbox/geo-viewport
license: ISC
---
<script src='{{site.tileApi}}/mapbox.js/plugins/geo-viewport/v0.1.1/geo-viewport.js'></script>
